#import "ResilientApprehensionView.h"


@implementation ResilientApprehensionView



- (void)setMergeLiberty:(ResilientApprehensionModel *)mergeLiberty {
	_mergeLiberty = mergeLiberty;

	//: 配置cell的UI

	self.breezeFlourishGlimmerLabel.text = [NSString stringWithFormat:@"Count: %lu", (unsigned long)mergeLiberty.inspireLeap.count];

}
- (UIView *)crispImaginationThistleView {
	if (!_crispImaginationThistleView) {
	
        _crispImaginationThistleView = [UIView new];
        _crispImaginationThistleView.size = CGSizeMake(121, 68);
        _crispImaginationThistleView.left = 44;
        _crispImaginationThistleView.top = 25;
	}
	return _crispImaginationThistleView;
}

- (UIView *)harbingerView {
	if (!_harbingerView) {
	
        _harbingerView = [[UIView alloc] init];
	}
	return _harbingerView;
}

//: dabbleJourneyHammer 的点击事件
- (void)action_4 {}

//: self.anticipateBtn 的点击事件
- (void)action_6 {}

- (void)oasisConfigViews {
	//: 描述_0
	[self addSubview:self.crispImaginationThistleView];


    //: 描述_1
    UITextView *zealot = [[UITextView alloc] initWithFrame:CGRectZero];
    zealot.frame = CGRectMake(48, 39, 110, 36);
    self.apprehensionTextView = zealot;
    [self addSubview:zealot];


    //: 描述_2
    UITextField *dreamscapeApple = [UITextField new];
    self.nightfallAlchemyTextField = dreamscapeApple;
    [self addSubview:dreamscapeApple];
	[self.nightfallAlchemyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(157);
		make.height.mas_equalTo(48);
		make.top.equalTo(@(22));
		make.bottom.equalTo(@(15));
	}];

	//: 描述_3
	[self addSubview:self.harbingerView];
	[self.harbingerView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(137);
		make.height.mas_equalTo(90);
	}];


    //: 描述_4
    UIButton *dabbleJourneyHammer = [[UIButton alloc] initWithFrame:CGRectZero];
    UIImage *delightNavigateMerge = [UIImage imageNamed:@"images/icon_4.png"];
    if (delightNavigateMerge) {
	    [dabbleJourneyHammer setImage:delightNavigateMerge forState:UIControlStateNormal];
    }
    [dabbleJourneyHammer setTitle:@"button_4" forState:UIControlStateNormal];
    [dabbleJourneyHammer setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [dabbleJourneyHammer setTitleColor:[UIColor colorWithRed:205/255.0 green:142/255.0 blue:34/255.0 alpha:0.9] forState:UIControlStateNormal];
    [dabbleJourneyHammer setTitleColor:[UIColor colorWithRed:189/255.0 green:149/255.0 blue:2/255.0 alpha:0.7] forState:UIControlStateSelected];
    [dabbleJourneyHammer addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    self.cableButton = dabbleJourneyHammer;
    [self addSubview:dabbleJourneyHammer];
	[self.cableButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(41);
		make.height.mas_equalTo(158);
		make.top.equalTo(@(12));
		make.bottom.equalTo(@(20));
	}];


    //: 描述_5
    UILabel *flexibility = [UILabel new];
    flexibility.text = @"label_5";
    flexibility.font = [UIFont systemFontOfSize:20 weight:UIFontWeightBold];
    flexibility.textColor = [UIColor colorWithRed:133/255.0 green:28/255.0 blue:105/255.0 alpha:0.9];
    flexibility.textAlignment = NSTextAlignmentLeft;
    flexibility.numberOfLines = 3;
    self.breezeFlourishGlimmerLabel = flexibility;
    [self addSubview:flexibility];
	[self.breezeFlourishGlimmerLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(123);
		make.height.mas_equalTo(87);
		make.top.equalTo(@(13));
		make.bottom.equalTo(@(13));
	}];


    //: 描述_6
    self.anticipateBtn = [UIButton new];
    self.anticipateBtn.size = CGSizeMake(108, 79);
    self.anticipateBtn.left = 16;
    self.anticipateBtn.top = 38;
    UIImage *kiteSymphony = [UIImage imageNamed:@"images/icon_6.png"];
    if (kiteSymphony) {
	    [self.anticipateBtn setImage:kiteSymphony forState:UIControlStateNormal];
    }
    [self.anticipateBtn setTitle:@"button_6" forState:UIControlStateNormal];
    [self.anticipateBtn setTitle:@"button_selected_6" forState:UIControlStateSelected];
    [self.anticipateBtn setTitleColor:[UIColor colorWithRed:108/255.0 green:163/255.0 blue:51/255.0 alpha:0.6] forState:UIControlStateNormal];
    [self.anticipateBtn setTitleColor:[UIColor colorWithRed:165/255.0 green:61/255.0 blue:168/255.0 alpha:0.8] forState:UIControlStateSelected];
    [self.anticipateBtn addTarget:self action:@selector(action_6) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.anticipateBtn];


    //: 描述_7
    UIImageView *radiateFable = [[UIImageView alloc] initWithFrame:CGRectZero];
    radiateFable.contentMode = UIViewContentModeScaleAspectFill;
    radiateFable.clipsToBounds = YES;
    radiateFable.layer.cornerRadius = 3;
    radiateFable.layer.masksToBounds = YES;
    radiateFable.frame = CGRectMake(39, 7, 71, 193);
    UIImage *melancholyDreamXenon = [UIImage imageNamed:@"images/image_7.png"];
    if (melancholyDreamXenon) {
	    radiateFable.image = melancholyDreamXenon;
    }
    self.marvelImageView = radiateFable;
    [self addSubview:radiateFable];
}


@end